package com.xuzhen.aop.helloworld;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class HelloWorldTest {
	@Test
    public void testHelloworld() {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("aop/helloworld.xml");
        HelloWorld helloworldService = ctx.getBean("hello", HelloWorld.class);
        helloworldService.execute();
    }
}
